<?php 
	$baseUrl = Yii::app()->basePath;
	$this->pageTitle = Yii::t('Member', 'SEO - Member Signin Title');
	Yii::app()->clientScript->registerMetaTag(Yii::t('Member', 'SEO - Member Signin Description'), 'description');
	Yii::app()->clientScript->registerMetaTag(Yii::t('Member', 'SEO - Member Signin Keywords'), 'keywords');
	Yii::app()->clientScript->registerCssFile(Yii::app()->request->baseUrl.'/css/module/lief/grid.css');
	Yii::app()->clientScript->registerCssFile(Yii::app()->request->baseUrl.'/css/module/lief/normalize.min.css');
	Yii::app()->clientScript->registerCssFile(Yii::app()->request->baseUrl.'/css/module/lief/styles.css');
	Yii::app()->clientScript->registerCssFile(Yii::app()->request->baseUrl.'/css/module/lief/login.css');
	Yii::app()->clientScript->registerCssFile(Yii::app()->request->baseUrl.'/css/module/lief/responsive.css');
	Yii::app()->clientScript->registerCssFile(Yii::app()->request->baseUrl.'/css/module/lief/lovedone.css');
	
	Yii::app()->clientScript->registerScriptFile(Yii::app()->request->baseUrl.'/js/module/lief/main.js', CClientScript::POS_END);
	Yii::app()->clientScript->registerScriptFile(Yii::app()->request->baseUrl.'/js/module/lief/commonscripts.js', CClientScript::POS_END);
?>

            <div class="mainline"></div>
            <h2><?php echo Yii::t("Member", "Log In to your Lief Account");?></h2>
            <div class="mainline"></div>
            <div id="" class="clearfix text-center">
	            <?php 
                echo CHtml::beginForm('','post',array('id'=>'direct-login-form'));
            ?>
              <div class="text-center">
                   <?php echo CHtml::activeTextField($singinform,'email',array('class'=>'textfield'
                     ,'id'=>'EmailSignIn','placeholder'=>Yii::t("Member", "Email Address"),
                     'autocomplete'=>'off'));?>
              </div>
              <div class="text-center">
                   <?php echo CHtml::activePasswordField($singinform,'password',array('class'=>'textfield'
                       ,'id'=>'PasswordSignIn','placeholder'=>Yii::t("Member", "Password"),
                       'autocomplete'=>'off'));?>
                      
	              </div>
	              
	              <div id="error_block" class="error text-center">
                    <p>
                           <?php echo CHtml::errorSummary($singinform,"",""); ?>
                           <?php echo CHtml::encode($error);?>
                    </p>
                  </div>
	
	              <div class="text-center">
	                   <?php echo CHtml::submitButton(Yii::t("Member", "Log In"), array('name'=>'login','class'=>'btn disabled', 'disabled'=>'disabled')); ?>
              </div>
              <p class="text-center forgotpasswordtext">
                  <?php echo Yii::t("Member", "{url}Can't access{/url} your account?", array('{url}'=>'<a href="'.Yii::app()->createUrl("auth/member/forget_password").'">','{/url}'=>'</a>')) ;?>
              </p>
           <?php echo CHtml::activeHiddenField($singinform, 'redirect') ?>
           <?php echo CHtml::endForm(); ?>
            </div>
            
            <div class="mainline"></div>
            <div id="social-login-box" class="clearfix">
                <h2><?php echo Yii::t("Member", "You could also...") ;?></h2>
                <ul id="socialbtns-box" class="clear-fix">
                    <li class="col">
                      <center>
                        <a href="<?php echo Yii::app()->createUrl('auth/member/facebooklogin'); ?>" title="<?php echo Yii::t("Member", "Sign in with Facebook") ;?>">
                          <div class="fbbtn"><?php echo Yii::t("Member", "Sign in with Facebook") ;?></div>
                        </a>
                      </center>
                    </li>
                    <li class="col">
                        <center>
                            <a href="<?php echo Yii::app()->createUrl('auth/member/linkedinlogin'); ?>" title="<?php echo Yii::t("Member", 'Sign in with LinkedIn')  ;?>">
                                <div class="libtn"><?php echo Yii::t("Member", "Sign in with LinkedIn") ;?></div>
                            </a>
                        </center>
                     </li>
                    <li class="col">
                        <center>
                            <a href="<?php echo Yii::app()->createUrl('auth/member/twitterlogin'); ?>" title="<?php echo Yii::t("Member", 'Sign in with Twitter')  ;?>">
                                 <div class="ttbtn"><?php echo Yii::t("Member", "Sign in with Twitter") ;?></div>
                            </a>
                         </center>
                    </li>
                            
                    <!--<li class="col"><center><a href="/member/signin#" title="This feature is coming soon"><div class="imbtn">Sign in with Intimedia</div></a></center></li>-->
                </ul>
            </div>